package com.wtp.wallpaper.annotation;

import java.lang.annotation.*;

@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.METHOD})
@Documented
public @interface RedisLimitAnnotation {

    String key() default "";

    long permitsPerSecond() default 3;

    long expire() default 30;

    String msg() default "default message:系统繁忙or你点击太快,请稍后再试，谢谢";

}
